package demo.core.runtime.platform;

import java.util.HashMap;
import java.util.HashSet;
import java.util.LinkedHashSet;
import java.util.Map;
import java.util.Set;

import org.osgi.framework.BundleContext;
import org.osgi.framework.ServiceEvent;
import org.osgi.framework.ServiceListener;
import org.osgi.framework.ServiceReference;

import demo.core.runtime.extension.ExtendRegTable;
import demo.core.runtime.impl.ExtendRegTableImpl;

public class Platform {
	private static ExtendRegTableImpl pointRegTable=new ExtendRegTableImpl();
	
	public static ExtendRegTable getPointRegTable(){
		return pointRegTable;
	}
	
	public static ServiceListener getServicesListener(){
		return pointRegTable;
	}
	
	public static void setBundleContext(BundleContext context){
		pointRegTable.setContext(context);
	}
	
}
